package zack.project.domain.strategy.service;

import zack.project.domain.strategy.model.valobj.RuleWeightVO;

import java.util.List;
import java.util.Map;

/**奖品查询接口
 * @author A1793
 */
public interface IRaffleRule {

    /**
     *
     * @param treeIds
     * 根据传入的treeid来查询奖品的lock配置
     * @return
     */
    Map<String, Integer> queryAwardRuleLockCount(String[] treeIds);

    List<RuleWeightVO> queryAwardRuleWeightByActivityId(Long activityId);

    List<RuleWeightVO>  queryAwardRuleWeight(Long strategyId);
}
